package com.wanlian.router.ui.manage;

import android.content.Context;
import android.view.View;

import com.smart.android.ui.tools.MyNiuBAdapter;
import com.wanlian.router.R;
import com.wanlian.router.bean.NetDevice;

import java.util.List;

/**
 * Created by Hyu on 2018/9/8.
 * Email: fvaryu@163.com
 */
public class NetworkingDeviceAdapter extends MyNiuBAdapter<NetDevice> {


    public NetworkingDeviceAdapter(Context context, List<NetDevice> mTs) {
        super(context, mTs);
    }

    @Override
    public int layout() {
        return R.layout.layout_item_networking_device;
    }

    @Override
    public MyViewHolder<NetDevice> holder(View view) {
        return new DeviceHolder(view);
    }

    class DeviceHolder extends MyNiuBAdapter.MyViewHolder<NetDevice> {

        public DeviceHolder(View view) {
            super(view);
        }

        @Override
        public void setData(int i, NetDevice netDevice) {

        }
    }
}
